package com.ruoyi.system.domain;

import java.util.List;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 酒店类型对象 tb_hotel_type
 * 
 * @author ruoyi
 * @date 2025-07-11
 */
public class TbHotelType extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 类型名称 */
    @Excel(name = "类型名称")
    private String name;

    /** 图标 */
    @Excel(name = "图标")
    private String icon;

    /** 顺序 */
    @Excel(name = "顺序")
    private Integer sort;

    /** 酒店管理信息 */
    private List<TbHotel> tbHotelList;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setIcon(String icon) 
    {
        this.icon = icon;
    }

    public String getIcon() 
    {
        return icon;
    }

    public void setSort(Integer sort) 
    {
        this.sort = sort;
    }

    public Integer getSort() 
    {
        return sort;
    }

    public List<TbHotel> getTbHotelList()
    {
        return tbHotelList;
    }

    public void setTbHotelList(List<TbHotel> tbHotelList)
    {
        this.tbHotelList = tbHotelList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("icon", getIcon())
            .append("sort", getSort())
            .append("tbHotelList", getTbHotelList())
            .toString();
    }
}
